package com.group4.datafactorybackend.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.group4.datafactorybackend.entity.DO.StopwatchDO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author 卑微小峰
 * @date 2022/8/13
 * @description 码表数据访问层
 */
@Mapper
public interface StopwatchManagementMapper extends BaseMapper<StopwatchDO> {

    /**
     * @author 卑微小峰
     * @param stopwatchCode 码表编号
     * @return List
     * @description 获取引用了此码表的接口参数对应的所有接口编号
     */
    List<String> getApiCodeList(@Param("stopwatchCode")String stopwatchCode);
}
